/**
 * @param {string} address
 * @return {string}
 */
var defangIPaddr = function(address) {
  return address.replace(/\./gi, "[.]")
}

console.log(defangIPaddr("255.100.50.0"))

var arr = new Set([1, 1, 2, 3, 4, 6])

var arr2 = [...arr]
